<html xmlns:th="http://www.thymeleaf.org">
    <th:block th:fragment="member_info">
    

{if $user_info}

你好，<a href="user.html"></a> |
 <a href="user.html?act=logout"></a> |
 
  {else} 
  
欢迎光临本店，<a href="user.html">登录</a> | <a  href="user.html?act=register">注册</a> |
 
 
 {/if}
    </th:block>
</html>